run through (someone's) mind

Translations
trotter dans la tête
Definitions
To be repeatedly thought about or considered by someone; to occupy someone's thoughts for a period of time.